﻿<%@ Page CodeFileBaseClass="AliCMS.Lib.AdminPageBase" %>
<ali:Get ID="Movie" Object="Movie" InnerID="Request.QueryString['MovieID']" />
<ali:Get ID="Player" Mark="System" Object="Player" Operation="List(-1, -1, null, null)" />
<table border="0" cellpadding="4" cellspacing="1" class="ListTable">
	<thead>
		<tr>
			<th width="60">名称</th>
			<th>地址</th>
			<th>播放器</th>
			<th width="40">错误</th>
			<th width="40">修改</th>
			<th width="40">删除</th>
		</tr>
	</thead>
	<tbody>
		<ali:List Object="Movie.Url" Condition="MovieID=Movie[ID] and CategoryID=Request.QueryString['CategoryID']" Validate="True">
			<ali:Record>
				<tr id="<%=InnerID%>">
					<form>
						<td><input type="text" name="Name" value="<%=Name%>" size="10" maxlength="50" class="Text <%=PageLang%>Font" /></td>
						<td><input type="text" name="URL" value="<%=URL%>" size="30" maxlength="255" class="Text" /></td>
						<td>
							<select name="PlayerID" class="<%=PageLang%>Font">
								<ali:List Mark="System" Object="Player" Source="Player">
									<ali:Record>
										<%If Guid.Equals(ID, PlayerID)%>
											<option value="<%=ID%>" selected="selected"><%=Name%></option>
										<%Else%>
											<option value="<%=ID%>"><%=Name%></option>
										<%EndIf%>
									</ali:Record>
								</ali:List>
							</select>
						</td>
						<td><%=Error%></td>
						<td><input type="image" src="<%=ImagePath%>modify.gif" /></td>
						<td><a href="">删除</a></td>
					</form>
				</tr>
			</ali:Record>
		</ali:List>
	</tbody>
</table>
